home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
os2
/
comm2211.zip
/
COMINST.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-08-12
|
1KB
|
43 lines
@echo off
rem ****************************************************
rem *** Simple Installation utility for beta drivers ***
rem ****************************************************
if "%1"=="" goto ERROR1
if not exist %1\os2\com.sys goto ERROR2
if not exist comm.drv goto ERROR3
:DOIT
rename %1\os2\com.sys *.392
rename %1\os2\mode.com *.392
rename %1\os2\mdos\vcom.sys *.392
rename %1\os2\mdos\winos2\system\comm.drv *.392
copy com.sys %1\os2\com.sys
copy mode.com %1\os2\mode.com
copy vcom.sys %1\os2\mdos\vcom.sys
copy comm.drv %1\os2\mdos\winos2\system\comm.drv
goto DONE
:ERROR1
echo **** YOU MUST SUPPLY THE OS/2 DRIVE (I.E. C:) ****
goto DONE
:ERROR2
if %2==99 goto DOIT
echo **** COM.SYS not found...Did you supply the correct Drive? ****
echo **** If you wish to Override, execute COMINST x: 99 where ****
echo **** x: is the correct drive letter ****
goto DONE
:ERROR3
echo **** This is not the correct BETA Driver Floppy ****
echo **** You must be at the floppy prompt (i.e A:) ****
echo **** for this to work correctly!! ****
goto DONE
:DONE
echo on